* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 字体无法选中 */
    user-select: none;
}

body {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #ecf0f3;
}

.shell {
    display: flex;
    width: 600px;
    height: 600px;
    border-radius: 12px;
    box-shadow: 10px 10px 10px #d1d9e6, -10px -10px 10px #f9f9f9;
    background-color: #ecf0f3;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {
    .shell {
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 1000px) {
    .shell {
        width: 400px;
        height: 500px;
    }
}


@media (max-width: 600px) {
    .shell {
        width: 300px;
        height: 480px;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 100%;
}

.sing-in {
    display: flex;
    width: 300px;
    height: 80%;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.input {
    font-size: 16px;
    width: 100%;
    height: 40px;
    outline: none;
    border: 0;
    border-radius: 8px;
    padding-left: 25px;
    padding-right: 25px;
}

span {
    font-size: 16px;
}

.button {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background-color: rgb(94, 179, 243);
    font-size: 20px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    transition: transform .3s;

}

.button:hover {
    transform: scale(.9);
}

.input:hover {
    animation: scaleBigger .4s ease-in-out forwards;
}

@keyframes scaleBigger {

    100% {
        transform: scale(1.1);
        background-color: #f9fbfc;
    }
}

#sing-in-span {
    position: absolute;
    left: calc(50% - 64px);
}

#register-span {
    position: absolute;
    left: -1000px;
}

#register-button {
    position: absolute;
    left: -1000px;
    margin-left: 14px;
}

#sing-in-button {
    position: absolute;
    left: calc(50% - 50px);
}

.animate-box {
    overflow: hidden;
    width: 300px;
    height: 50px;
    position: relative;
}

h1 {
    font-size: 34px;
    position: absolute;
}

#sing-in-title {
    left: calc(50% - 64px);

}

#register-title {
    left: -1000px;
    opacity: 0;

}


.return-to-title {
    animation: return 0.4s ease-out forwards;
}

.run-to-title {
    animation: run 0.4s ease-out forwards;
}

@keyframes return {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        left: calc(50% - 64px)
    }
}

@keyframes run {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: 1000px
    }
}

@keyframes return1 {
    100% {
        opacity: 0;
    }

    0% {
        opacity: 1;
        left: calc(50% - 64px)
    }
}

@keyframes run1 {
    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
        left: 1000px
    }
}

.input-box {
    overflow: hidden;
    position: relative;
    height: 200px;
    width: 80%;
}

.input-style {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.signin-input-box {
    position: absolute;
    justify-content: space-evenly;
}

.register-input-box {
    position: absolute;
    left: -1000px;
    opacity: 0;
}

@keyframes inputComeBack {
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes inputRun {
    0% {
        left: 0;
    }

    100% {
        opacity: 0;
        left: 1000px;
    }
}

@keyframes inputComeBack1 {
    0% {
        opacity: 1;
        left: 0;
    }

    100% {
        opacity: 0;
        left: -1000px;
    }
}

@keyframes inputRun1 {
    100% {
        left: 0;
        opacity: 1;
    }

    0% {
        opacity: 0;
        left: 1000px;
    }
}

.input-comeback {
    animation: inputComeBack .4s ease forwards;
}

.input-run {
    animation: inputRun .4s ease forwards;
}

@keyframes shell {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2%);
    }
}


@keyframes shell1 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-2%);
    }
}

#register-span {
    margin-top: 10px;
    margin-left: -10px;
}